﻿<%@ Page Title="" Language="C#" MasterPageFile="~/VSFuncionario.Master" AutoEventWireup="true" CodeBehind="Grade.aspx.cs" Inherits="Presentation.Grade" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        #Button1
        {
            width: 67px;
        }
        .style1
        {
            width: 73px;
        }
    </style>
    <script language="javascript" type="text/javascript">

    </script>
</asp:Content>


<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

        <table style="width:100%;">
            <tr>
                <td class="style1">Curso: </td>
                <td colspan="2" class="auto-style7">
                    <asp:DropDownList ID="ddlCurso" runat="server" DataSourceID="EntityCurso" DataTextField="Nome" DataValueField="ID" OnSelectedIndexChanged="ddlCurso_SelectedIndexChanged">
                    </asp:DropDownList>
                    <asp:EntityDataSource ID="EntityCurso" runat="server" ConnectionString="name=DBUCNEntities" DefaultContainerName="DBUCNEntities" EnableFlattening="False" EntitySetName="TBCursoes" EntityTypeFilter="TBCurso">
                    </asp:EntityDataSource>
                </td>
                <td class="auto-style8"></td>
            </tr>
            <tr>
                <td class="style1">Ano: </td>
                <td colspan="2">
                    <asp:TextBox ID="txtAno" runat="server"></asp:TextBox>
                </td>
                <td class="auto-style3">&nbsp;</td>
            </tr>
            <tr>
                <td class="style1">Semestre: </td>
                <td colspan="2">
                    <asp:DropDownList ID="ddlSemestre" runat="server">
                        <asp:ListItem Value="Selecione">Selecione</asp:ListItem>
                        <asp:ListItem Value="Primeiro">Primeiro</asp:ListItem>
                        <asp:ListItem Value="Segundo">Segundo</asp:ListItem>
                    </asp:DropDownList>
                </td>
                <td class="auto-style3">&nbsp;</td>
            </tr>
            <tr>
                <td class="style1">&nbsp;</td>
                <td class="auto-style4">
                    <asp:Button ID="btnSalvar" runat="server" OnClick="btnSalvar_Click" Text="Salvar" />
                </td>
                <td class="auto-style5">&nbsp;</td>
                <td class="auto-style3">&nbsp;</td>
            </tr>
            <tr>
                <td class="style1">&nbsp;</td>
                <td class="auto-style4">
                    &nbsp;</td>
                <td class="auto-style5">&nbsp;</td>
                <td class="auto-style3">&nbsp;</td>
            </tr>
            <tr>
                <td class="style1">&nbsp;</td>
                <td class="auto-style4">
                    <asp:HyperLink ID="HyperLink1" runat="server" 
                        NavigateUrl="~/GradeConsulta.aspx">Consultar Grades Cadastradas</asp:HyperLink>
                </td>
                <td class="auto-style5">&nbsp;</td>
                <td class="auto-style3">&nbsp;</td>
            </tr>
        </table>
    </form>


</asp:Content>